Name: test-files%num
Version: 1
Release: alt1
Summary: %name
Group: Other
License: CC0-1.0

Packager: John Doe <nobody@altlinux.org>

BuildArch: noarch

%description
%summary.

%package -n a-%name
Summary: a-%name
Group: Other

%description -n a-%name
%summary.

%package -n z-%name
Summary: z-%name
Group: Other

%description -n z-%name
%summary.

%install
mkdir -p %buildroot%_bindir
touch %buildroot%_bindir/%name

mkdir -p %buildroot%_datadir/%name
touch %buildroot%_datadir/%name/a
touch %buildroot%_datadir/%name/z

%files
%_bindir/%name

%files -n a-%name
%_datadir/%name/a

%files -n z-%name
%_datadir/%name/z

%changelog
* Wed Jan 01 2020 John Doe <nobody@altlinux.org> 1-alt1
- Packaged for use in tests.

* Fri Jan 01 2010 John Doe <nobody@altlinux.org> 0-alt1
- Fake entry to test --changelog-since= option.

* Sat Jan 01 2000 John Doe <nobody@altlinux.org> 0-alt1
- Fake entry to test --changelog-since= option.

* Wed Jan 01 1997 John Doe <nobody@altlinux.org> 0-alt1
- Fake entry to test --changelog-since= option (oldest valid date).
